
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/struts-tags" prefix="struts"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>书籍管理</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<style type="text/css">
			<!--
			body {
				background-color: #aed4ff;
			}
			-->
		</style>
	</head>
	<body>
		<img src="/bookshop-online/image/bupt_manage.jpg" width="229" height="259" hspace="200" vspace="150">	
	
		<div style="margin: -400px 0px 0px 500px;">
			<a href="${pageContext.request.contextPath}/admin/admin_add_book.jsp">添加新的书籍</a><br>
		
			<struts:if test="#request.booklist!=null">
				<struts:iterator value="#request.booklist" var="book">
					<tr>
						<td><img src="/bookshop-online/uploadFiles/${book.picPath}" width="100" height="150">&nbsp;</td>
						<td>书名：<struts:property value="#book.name" />&nbsp;</td>
						<td>价格：<struts:property value="#book.price" />&nbsp;</td>
						<td>数量：<struts:property value="#book.num" />&nbsp;</td>
						<td>操作：<a href="bookAction_deleteBook.action?bookNameToDelete=${book.name}">删除该书籍&nbsp;</a><br></td>
					</tr>
				</struts:iterator>
			</struts:if>
			<a href="/bookshop-online/admin/admin_main.jsp">返回</a>
		</div>

	</body>
</html>










